package com.dto;


import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;

import com.entity.Comment;
import com.entity.Essay;
import com.entity.User;

@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
public class CommentDto extends Comment implements Serializable {

	private static final long serialVersionUID = 1L;

	/**
     * 查看一条动态时 附带评论用户
     */
    private User user;

    /**
     * 查看一条评论时 附带动态信息
     */
    private Essay essay;


}
